﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BankAccountBatch.aspx.cs" Inherits="UI.ModEmployee.BankAccountBatch" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>批量增加银行工资账号</title>
     <link rel="stylesheet" type="text/css" href="../Styles/BaseStyle.css" />
      <script type="text/javascript" src="../JS/jsFunction.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <table class="pagetop">
        <tr >
            <td>              
                    无设置银行账号的员工
            </td>
            <td>
               
            </td>
        </tr>
    </table>
    <asp:GridView ID="gvList" runat="server" DataKeyNames="EmpCode" Width="100%" AutoGenerateColumns="false"
        BackColor="White" BorderColor="#E7E7FF" BorderStyle="None" BorderWidth="1px"
        CellPadding="3" GridLines="Horizontal"  CssClass="td">
        <Columns>       

            <asp:BoundField DataField="DeptName" HeaderText="部门名称" 
                ItemStyle-HorizontalAlign="Center">
                <ItemStyle Width="120px" />
            </asp:BoundField>
            <asp:TemplateField HeaderText="员工编号"  ItemStyle-HorizontalAlign="Center">
                <ItemTemplate>
                    <asp:Label ID="lbEmpCode" runat="server" Text='<%# Eval("EmpCode")%>'></asp:Label>                   
                </ItemTemplate>
                <ItemStyle Width="80px" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="员工姓名"  ItemStyle-HorizontalAlign="Center">
                <ItemTemplate>
                 <asp:Label ID="lbEmpName" runat="server" Text='<%# Eval("EmpName")%>'></asp:Label>  
                     
                </ItemTemplate>
                <ItemStyle Width="100px" />
            </asp:TemplateField>
            <asp:BoundField DataField="DutyName" HeaderText="职务" >
                <ItemStyle Width="120px" />
            </asp:BoundField>
          
      
            <asp:BoundField DataField="EmpSex" HeaderText="性别" >
                <ItemStyle Width="60px" />
            </asp:BoundField>
                  <asp:TemplateField HeaderText="开户行"  >
                <ItemTemplate>
                    <asp:TextBox ID="txtSalaryState" runat="server" onkeydown="if(event.keyCode==13)event.keyCode=9"  size="12" MaxLength="30" class="InputLineCss" Text="工商银行" ></asp:TextBox>          
                </ItemTemplate>
                <ItemStyle Width="80px" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="银行账号">
                <ItemTemplate>
                    <asp:TextBox ID="txtSalaryAccount" runat="server" onkeydown="if(event.keyCode==13)event.keyCode=9"  size="25" MaxLength="30" class="InputLineCss" ></asp:TextBox>
                </ItemTemplate>
            </asp:TemplateField>
           
        </Columns>      
        <RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />       
        <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
        <AlternatingRowStyle BackColor="#F7F7F7" />
    </asp:GridView>
     <div id="divAmount" >
       &nbsp; &nbsp; <asp:Button ID="btnModi" runat="server" Text="批量更新账号"  OnClientClick="return confirm('确定要更新了吗?\n');"  CssClass="ButtonCss" 
            TabIndex="0" onclick="btnModi_Click" />  &nbsp; &nbsp; <asp:Label ID="lbAmount" runat="server"></asp:Label>
    </div>
    </form>
</body>
</html>
